package com.gxa.medical.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 科室部门实体类
 * @author
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Department implements Serializable {

    @ApiModelProperty(name = "department_id",value = "科室编号",hidden = true,required = false)
    private Integer department_id;

    @ApiModelProperty(name = "dep_name",value = "科室名称",hidden = false,required = true)
    private String dep_name;

    @ApiModelProperty(name = "population",value = "科室人数",hidden = false,required = true)
    private Integer population;

    @ApiModelProperty(name = "superior",value = "上级部门",hidden = false,required = true)
    private String superior;

    @ApiModelProperty(name = "functionary",value = "科室负责人",hidden = false,required = true)
    private String functionary;

    @ApiModelProperty(name = "dep_phone",value = "负责人手机号",hidden = false,required = true)
    private String dep_phone;

    @ApiModelProperty(name = "dep_regTime",value = "创建时间",hidden = false,required = false)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date dep_regTime;

    @ApiModelProperty(name = "hospital_id",value = "医院id",hidden = true,required = false)
    private Integer hospital_id;

}
